package com.devunion.reader.client.to;

import java.util.List;

/**
 * @author Timoshenko Alexander 28.05.2009 : 9:54:06
 */
public class PageTo extends AbstractTo {

    public static String PAGE_NUMBER = "PAGE_NUMBER";
    public static String RELATIVE_PATH = "RELATIVE_PATH";
    public static String ANNOTATIONS = "ANNOTATIONS";

    public Integer getPageNumber() {
        return get(PAGE_NUMBER);
    }

    public void setPageNumber(Integer pageNumber) {
        set(PAGE_NUMBER, pageNumber);
    }

    public String getRelativePath() {
        return get(RELATIVE_PATH);
    }

    public void setRelativePath(String relativePath) {
        set(RELATIVE_PATH, relativePath);
    }

    public List<AnnotationTo> getAnnotations() {
        return get(ANNOTATIONS);
    }

    public void setAnnotations(List<AnnotationTo> annotations) {
        set(ANNOTATIONS, annotations);
    }
}
